package com.ruoyi.bole.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 内容图片对象 bole_content_image
 * 
 * @author WuJiaLe
 * @date 2025-03-22
 */
public class BoleContentImage extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 图片ID */
    private Long imageId;

    /** 内容ID */
    @Excel(name = "内容ID")
    private Long contentId;

    /** 图片地址 */
    @Excel(name = "图片地址")
    private String imgUrl;

    /** 排序号 */
    @Excel(name = "排序号")
    private Long sortNum;

    public void setImageId(Long imageId) 
    {
        this.imageId = imageId;
    }

    public Long getImageId() 
    {
        return imageId;
    }
    public void setContentId(Long contentId) 
    {
        this.contentId = contentId;
    }

    public Long getContentId() 
    {
        return contentId;
    }
    public void setImgUrl(String imgUrl) 
    {
        this.imgUrl = imgUrl;
    }

    public String getImgUrl() 
    {
        return imgUrl;
    }
    public void setSortNum(Long sortNum) 
    {
        this.sortNum = sortNum;
    }

    public Long getSortNum() 
    {
        return sortNum;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("imageId", getImageId())
            .append("contentId", getContentId())
            .append("imgUrl", getImgUrl())
            .append("sortNum", getSortNum())
            .append("createTime", getCreateTime())
            .toString();
    }
}
